import httpInstance from '@/utils/http'
export const getCollectionListAPI = (data) => {
    return httpInstance.post('/collect', data)
}
export const collectionGoodsAPI = (goodsId) => {
    return httpInstance.post('/collect/save', goodsId, {
        headers: {
            'Content-Type': 'application/json'
        }
    })
}
export const cancelCollectAPI = (id) => {
    return httpInstance.post('/collect/cancel', id, {
        headers: {
            'Content-Type': 'application/json'
        }
    })
}